---
label: gulp tasks
id: build-tasks-gulptasklist 
categorySlug: gulp
categoryLabel: Gulp 
categoryRank: 2

# List of gulp tasks


## cssmin

```
$ gulp cssmin
```

Minify css.
Adds an extension ``.min.css`` to the file.

## html
```
$ gulp html
```

Preprocess and copy html.

## sass

```
$ gulp sass
```

Process sass into css.

## serverDoc

```
$ gulp serverDoc
```

Launch a server to serve the doc

## styleguide

```
$ gulp styleguide
```

Generate the styleguide with [kss-node][kss]

## svg

```
$ gulp svg
```

Compress and copy svg files.

## taskDoc

```
$ gulp taskDoc
```

Generate the taskList documentation, matching ``tasks/md/*.md``.
Use [gulp-markdown-docs][gulp-markdown-docs].

[kss]: https://github.com/kss-node/kss-node
[gulp-markdown-docs]: https://github.com/sojournerc/gulp-markdown-docs

## componentDoc

```
$ gulp componentDoc
```
Generate ReactJS component documentation.
Use [gulp-react-docs][gulp-react-docs].

[gulp-react-docs]: https://www.npmjs.com/package/gulp-react-docs

## moduleDoc

```
$ gulp moduleDoc
```

Generate Redux modules documentation.
Use [esdoc][esdoc].

[esdoc]: https://esdoc.org/

## mainDoc

Copy landing page from ``doc-templates/main``

```
$ gulp mainDoc
```


## screenshots

```
$ gulp scrot
```

Take screenshots of different resolutions and put them in
``./doc/scrot``. Use [pageres][pageres].

[pageres]: https://github.com/sindresorhus/pageres

# List of gulp tasks for production

The gulp tasks are located in ``./tasks/prod``.
Note that most of the tasks take the build package to transform it.
So you might want to run ``$ gulp build``
before using one of theses tasks.

You need to prefix with ``prod:`` the tasks invoked.

For example:

```
# Invoke cssmin
$ gulp prod:cssmin
```

## minify css

```
$ gulp prod:cssmin
```

## html

```
$ gulp prod:html
```

Preprocess and copy html.

## javascript

```
$ gulp prod:javascript
```

Minify javascript.

## svg

```
$ gulp prod:svg
```

Copy svg that ends with ``--prod.svg``.
Meaning that ``logo-*prod.svg`` will be copied
but not ``logo.svg``.

---
